package at.fhj.ase;


public class Customer {
	
	private final long custNr;
	private String firstName;
	private String lastName;
	private final String userName;
	private String password;
	
	
	public Customer(final long custNr, final String userName, final String firstName, final String lastName, final String password) {
		this.custNr = custNr;
		this.firstName = firstName;
		this.lastName =lastName;
		this.userName = userName;
		setPassword(password);
		
	}
	

	
	
	public final String getFirstName() {
		return firstName;
	}
	
	public final void setFirstName(String firstName) {
		this.firstName = firstName;
	}
	
	public final String getLastName() {
		return lastName;
	}
	
	public final void setLastName(String lastName) {
		this.lastName = lastName;
	}
	
	public final String getUserName() {
		return userName;
	}
	
	
	public final String getPassword() {
		return password;
	}
	
	protected final void setPassword(final String password) {
		this.password = password;
	}
	

	
	protected final long getCustNr() {
		return custNr;
	}

}
